import QtQuick 2.0
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3
import QtCharts 2.3
import QtGraphicalEffects 1.12

Page{
    id:root
    title: "Custom"


    ChartView{
        id:chartView
        anchors.fill: parent
        backgroundColor: "transparent"
        theme: ChartView.ChartThemeDark
        antialiasing: true
        HorizontalBarSeries {
              axisY: BarCategoryAxis { categories: ["设备1", "设备2", "设备3" ] }
              BarSet { label: "Device"; values: [444, 55, 1222] }
          }
    }

    Glow {
        id:glow
        anchors.fill: chartView
        radius: 8
        samples: 17
        color: "#87CEFA"
        spread:0.0
        source: chartView
    }
//        RadialBlur {
//            anchors.fill: chartView
//            source: chartView
//            angle: 360
//            samples: 20
//        }

//        ZoomBlur {
//            anchors.fill: chartView
//            source: chartView
//            length: 24
//            samples: 20
//        }

}
